package com.coderdream.chapter10.strategy.a1;

import java.util.Random;

public class RandomStrategy implements Strategy {
	
	private Random random;
	
	public RandomStrategy(int seed) {
		this.random = new Random(seed);
	}

	public Hand nextHand() {
		return Hand.getHand(this.random.nextInt(3));
	}

	public void study(boolean win) {				
	}

}
